﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XSTDZ.ERP.Domain.Models
{
    /// <summary>
    /// 库房（仓库）
    /// </summary>
    public partial class Storehouse
    {
        public Storehouse()
        {
            this.Stock = new HashSet<Stock>();
        }
        public Storehouse Init()
        {
            this.Deleted = 0;
            return this;
        }
        /// <summary>
        /// 设置删除状态（若为删除，则置为正常，否则为删除）
        /// </summary>
        /// <returns></returns>
        public Storehouse SetDeleteState()
        {
            this.Deleted = 1;
            return this;
        }
    }
}
